The Josephus Problem

Keith Waclena / DLDC
  1. The Rules
  2. Rationale
  3. Approaches to a Circular Data Structure
  4. An OCaml Solution
  5. Optimized
  6. More Optimized
  7. Who's Dead?
  8. Animated Display
  9. Complete Program
  10. Bonus: A Gema Solution